import request from "@/utils/request.js";

export async function queryMovies() {
  return request("/movie/action/query");
}

export async function queryMarkMovies() {
  return request("/mark/action/query");
}
export async function markMovie(id) {
   request("/mark/"+id,{method:"post"});
}

export async function updateScore(data) {
	return request("/movie/score", {
		method: "post",
		data
	});
}

export async function getThreatres(data) {
	return request("/threatre/list", {
		method: "post",
		data
	});
}
